package com.anyonavinfo.cpaddemo.data.musicinfo.source.local;

import android.net.Uri;
import android.provider.BaseColumns;
import android.provider.MediaStore;

/**
 * Created by ZuiC on 2017/1/23.
 */

public final class MusicInfoPersistenceContract {

    private MusicInfoPersistenceContract(){}

    public static abstract class MusicInfoEntry implements BaseColumns{
        public static final Uri TABLE_NAME = MediaStore.Audio.Media.EXTERNAL_CONTENT_URI;
        public static final String COLUMN_NAME_ID = "_id";
        public static final String COLUMN_NAME_DATA = "_data";
        public static final String COLUMN_NAME_DISPLAY_NAME = "_display_name";
        public static final String COLUMN_NAME_SIZE = "_size";
        public static final String COLUMN_NAME_TITLE = "title";
        public static final String COLUMN_NAME_DURATION = "duration";
        public static final String COLUMN_NAME_ALBUM_ARTIST = "album_artist";
        public static final String COLUMN_NAME_ARTIST = "artist";
        public static final String COLUMN_NAME_ALBUM = "album";
        public static final String COLUMN_NAME_ALBUM_KEY = "album_key";
    }
}
